package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.common.persistence.model.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工
 *
 */
public interface EmployeeDao {

    /**
     * 获取员工列表
     */
    List<Employee> search(@Param("name") String name);

    Employee getEmployee(Integer id);
}
